/**
 * 
 */
package org.swing.utility.system.thread;

import org.swing.utility.system.imp.Logger;
import org.swing.utility.system.log.LoggerFactory;

/**
 * @author lqnhu
 *
 */
public class SpyObject extends Object {

	private transient Logger logger = null;

	/**
	 * Get an instance of SpyObject.
	 */
	public SpyObject() {
		super();
	}

	/**
	 * Get a Logger instance for this class.
	 *
	 * @return an appropriate logger instance.
	 */
	protected Logger getLogger() {
		if (logger == null) {
			logger = LoggerFactory
					.getLogger("net.spy.memcached.compat.log.Log4JLogger");
		}
		return (logger);
	}

}
